// Copyright 2019 The rhyme_lph Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// q [author] rhyme_lph
// C [email]  rhymelph@gmail.com
// I [github] https://github.com/rhymelph

import 'package:base_plugin/base_plugin.dart';
import 'package:finance_app/src/router_gen/router_gen_providers.dart';
import 'package:flutter/material.dart';
import 'package:finance_app/src/page/system_detection_page.dart';

class SystemDetectionProvider extends BaseProvider {
  @override
  Future get dataFuture => null;

  int step = 0;

  void onChoose() {
    step++;
    update();
    if (step > 1) {
      Routes.navigateTo(RouterGenProviders.pendingInvitationPage,
          replace: true);
    }
  }
}
